From: Tassilo Horn Date: Wed, 5 Jan 2011 21:54:23 +0000 (+0100) Subject: Fix bug in doc-view-enlarge. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~844^2~2926 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f77ca003443c9d2bc87eb403e4c9a9a651d67ada;p=emacs.git Fix bug in doc-view-enlarge. --- diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 7ec8b3954e0..fce3597409c 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -654,7 +654,7 @@ OpenDocument format)." (set (make-local-variable 'doc-view-image-width) (ceiling (* factor doc-view-image-width))) (doc-view-insert-image (plist-get (cdr (doc-view-current-image)) :file) - :width doc-view-resolution)) + :width doc-view-image-width)) (set (make-local-variable 'doc-view-resolution) (ceiling (* factor doc-view-resolution))) (doc-view-reconvert-doc)))